const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  roles: (state) => state.user.roles,
  roleCode: (state) => state.user.roleCode,

  permission_routes: (state) => state.permission.routes,
  buttonList: (state) => state.permission.buttonList,
  routeLen: (state) => state.permission.routeLen
};
export default getters;
